package com.xiao.springmvc.entity;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;




/**
 * company_image，提供公司大图
 * @author xiao
 * 2014-3-12 下午12:50:31
 * @Version
 */
@Entity
@Table(name="t_company_image")
public class CompanyImage {

	@Id
	@GeneratedValue
	@Column(name="company_image_id")
	private Long id;
	
	@Column(name="company_id")
	private Long companyId;
	
	private String filepath;
	
	private int btnLayoutType;
	private int roleWalkType;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFilepath() {
		return filepath;
	}

	public void setFilepath(String filepath) {
		this.filepath = filepath;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public int getBtnLayoutType() {
		return btnLayoutType;
	}
	public void setBtnLayoutType(int btnLayoutType) {
		this.btnLayoutType = btnLayoutType;
	}
	public int getRoleWalkType() {
		return roleWalkType;
	}
	public void setRoleWalkType(int roleWalkType) {
		this.roleWalkType = roleWalkType;
	}
	
	
}
